blob: f27d3fab54393b0d18875ff702b313d1e00d38d6 (
plain) (
blame)
1
2
3
4
5
6
7
|
import { auth, get } from "$lib/utils";
export async function load({ cookies }) {
const aid = cookies.get("aid");
const { balance } = await get(`/account/${aid}`, auth(cookies));
return { balance };
}
|